package org.jeecg.modules.demo.yyc.reportdaily.entity;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.shiro.crypto.hash.Hash;
import org.jeecg.modules.demo.yyc.setting.dailyItem.entity.DailyItem;

import java.util.HashMap;
import java.util.List;

/**
 * 类说明
 * 包含了日报记录以及日报要素的解释集合
 * @ClassName Report
 * @Description TODO
 * @Author think
 * @Date 2022/11/5 17:36
 **/
public class Report {

    /**
     * 日报数据本体
     */
    IPage<HashMap<String,?>> records;

    /**
     * 日报数据的描述，因为列是动态的，用来描述日报的列信息
     */
    List<DailyItem> dailyItems;

    public Report(IPage<HashMap<String,?>> records, List<DailyItem> dailyItems){
        this.records = records;
        this.dailyItems = dailyItems;
    }

    public IPage<HashMap<String,?>> getRecords() {
        return records;
    }

    public List<DailyItem> getDailyItems() {
        return dailyItems;
    }
}
